EncounterMethodRateVersionDetail

@Serializable
data class EncounterMethodRateVersionDetail(val rate: Int, val version: Handle.Named<Version>)(source)

The encounter rate for a specific encounter method in a location area and version. See: https://pokeapi.co/docs/v2#encountermethodrateversiondetail

Parameters

rate

The chance of an encounter to occur.

version

The version of the game in which the encounter can occur with the given chance.

Constructors

Link copied to clipboard
constructor(rate: Int, version: Handle.Named<Version>)

Properties

Link copied to clipboard
val rate: Int
Link copied to clipboard